package com.experience.we.lambda;

public class Dish {
	private final String name;
	
	private final boolean vegetarain;
	
	private final int calories;
	
	private final Type type;
	
	public Dish(String name, boolean vegetarain, int calories, Type type) {
		this.name = name;
		this.vegetarain = vegetarain;
		this.calories = calories;
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public boolean isVegetarain() {
		return vegetarain;
	}

	public int getCalories() {
		return calories;
	}

	public Type getType() {
		return type;
	}

	public enum Type {MEAT, FISH, OTHER}
	
}
